
package org.example.bazhou.service.impl;


import dao.impl.UserDaoImpl;
import org.example.bazhou.model.User;
import org.example.bazhou.service.UserService;
//import util.BCryptUtil;

public class UserServiceImpl implements UserService {

    public User userLogin(String username, String password) {
        UserDaoImpl userDao = new UserDaoImpl();
        User userLogin = userDao.findByUserName(username);
//        boolean verify = BCryptUtil.verify(password,userLogin.getPassword());
        return userLogin;

    }}